﻿<%@ Page Title="" Language="C#" MasterPageFile="~/_Index.Master" AutoEventWireup="true" CodeBehind="Detail.aspx.cs" Inherits="WebApplication.Detail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="Content/Css/Detail.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Container" runat="server">
    <div class="main-container">
        <%--面包屑导航--%>
        <div class="tplp-breadcrumb">
            <span class="layui-breadcrumb">
                <a href="/">首页</a>
                <a href="/Products.aspx">产品中心</a>
                <a><cite>产品详情</cite></a>
            </span>
        </div>
        <section class="tplp-products-detail">
            <div class="tplp-products-detail__info">
                <div class="layui-row layui-col-space15">
                    <div class="layui-col-md6">
                        <div class="tplp-products-detail__pic">
                            <img src="<%=DetailInfo["Image"] %>" />
                        </div>
                    </div>
                    <div class="layui-col-md6">
                        <h1 class="tplp-products-detail__title"><%=DetailInfo["ProductsName"] %></h1>
                        <div class="tplp-products-detail__desc"><%=DetailInfo["ProductsDesc"] %></div>
                        <asp:Button ID="BuyBtn" runat="server" Text="购买" OnClick="BuyProducts" CssClass="layui-btn layui-btn-radius layui-btn-normal tplp-products-detail__buy" />
                    </div>
                </div>
            </div>
            <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
                <ul class="layui-tab-title">
                    <li class="layui-this">产品详情</li>
                </ul>
                <div class="layui-tab-content">
                    <%=DetailInfo["ProductsContent"] %>
                </div>
            </div>
        </section>
    </div>
</asp:Content>